//
//  ViewController.m
//  TestRound
//
//  Created by 李帅 on 15/5/1.
//  Copyright (c) 2015年 李帅. All rights reserved.
//

#import "ViewController.h"
#import "FVImageSequence.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    FVImageSequence *imageSquence = [[FVImageSequence alloc] initWithFrame:[UIScreen mainScreen].bounds];
    imageSquence.userInteractionEnabled = YES;
    imageSquence.image = [UIImage imageNamed:@"文件0.jpg"];
    [imageSquence setExtension:@"jpg"];
    [imageSquence setPrefix:@"文件"];
    [imageSquence setNumberOfImages:49];
    imageSquence.contentMode = UIViewContentModeScaleAspectFit;
    [self.view addSubview:imageSquence];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
